﻿using System;
using Microsoft.Practices.EnterpriseLibrary.Logging;

namespace JTLeigh.Commerce.Spencer.Core.Common.Services
{

	/// <summary>
	/// Service used to log messages.
	/// </summary>
	public interface ILoggingService
	{

		#region Methods

		/// <summary>
		/// Logs the specified log entry.
		/// </summary>
		/// <param name="tenantId">The tenant identifier <see cref="Guid"/> of the tenant who the 
		/// message is to be logged for.</param>
		/// <param name="entry">The <see cref="LogEntry"/> to log.</param>
		void Log(Guid tenantId, LogEntry entry);

		#endregion // Methods

	}

}
